SuperStrict
Import arm.box2d

Local rayCastOutput:b2RayCastOutput = New b2RayCastOutput
Local rayCastOutput2:b2RayCastOutput = New b2RayCastOutput

rayCastOutput2.Create(Vec2(10.0, 20.0), 30.0)

rayCastOutput.Set(Vec2(40.0, 50.0), 60.0)

Local normal:b2Vec2 = New b2Vec2
Local fraction:Float

rayCastOutput2.Copy(rayCastOutput)
rayCastOutput.Get(normal, fraction)

Print normal.X() + " " + normal.Y() + " | " + fraction

Print rayCastOutput.normal().X() + " " + rayCastOutput.normal().Y() + " | " + rayCastOutput.fraction()

rayCastOutput.SetNormal(Vec2(1, 2))
rayCastOutput.SetFraction(3)

rayCastOutput.Get(normal, fraction)
Print rayCastOutput.normal().X() + " " + rayCastOutput.normal().Y() + " | " + rayCastOutput.fraction()
